/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function tree(class_of_el){
    el = document.getElementsByClassName("Container");
    for (i=0;i<el.length;i++){
        el[i].style.display="block";
    }
    var el_list = document.getElementsByClassName(class_of_el);
       for (i=0;i<el_list.length;i++){
            el_list[i].onclick=function(event){var clickedElem = event.target || event.srcElement;
                                                alert(clickedElem.parentNode.lastElementChild);
                                                //alert("ok!");
                                              }
        }
        
}

